package com.ihemou.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ihemou.system.domain.SysUserSocialUser;

import java.util.List;

/**
 * All rights Reserved, Designed By saperliu
 * Copyright:    Copyright(C) 2021-2021
 * 关联系统账号Mapper接口
 *
 * @author saperliu
 * @date 2021年09月02日
 */
public interface SysUserSocialUserMapper extends BaseMapper<SysUserSocialUser> {
    /**
     * 根据条件分页查询关联系统账号数据
     *
     * @param sysUserSocialUser 过滤条件
     * @return 关联系统账号数据集合信息
     */
    public List<SysUserSocialUser> findSysUserSocialUserByCondition(SysUserSocialUser sysUserSocialUser);

    /**
     * 根据openId 查询系统用户ID
     * @param openId 应用的openId
     * @return
     */
    public SysUserSocialUser findSysUserSocialUserByOpenId(String openId);
}
